<?php
namespace BP\Frm;
require_once("BP/En/Map.php");
class FrmDeptCreate extends EntityMM {
	public function getHisUAC () 
	{
		$uac = new UAC();
		$uac->OpenAll();
		return $uac;
	}
	public function getFrmID () 
	{
		return $this->GetValStringByKey(FrmDeptCreateAttr::$FrmID);
	}
	public function setFrmID ($value) // [String value]
	{
		$this->SetValByKey(FrmDeptCreateAttr::$FrmID, $value);
	}
	public function getFK_Dept () 
	{
		return $this->GetValStringByKey(FrmDeptCreateAttr::$FK_Dept);
	}
	public function setFK_Dept ($value) // [String value]
	{
		$this->SetValByKey(FrmDeptCreateAttr::$FK_Dept, $value);
	}
	public static function constructor__ () 
	{
		$me = new self();
		return $me;
	}
	public function getEnMap () 
	{
		if (($this->get_enMap() != NULL))
		{
			return $this->get_enMap();
		}
		$map = new Map("Frm_DeptCreate", "单据部门");
		$map->AddTBStringPK(FrmDeptCreateAttr::$FrmID, NULL, "表单",  TRUE ,  TRUE , 1, 100, 100);
		$map->AddDDLEntitiesPK(FrmDeptCreateAttr::$FK_Dept, NULL, "可以创建部门", new Depts(),  TRUE );
		$this->set_enMap($map);
		return $this->get_enMap();
	}
}
?>
